<script setup>
import Child from './Child.vue'
</script>

<template>
  <div>
    <h2>父组件</h2>
    <p>这是父组件的内容</p>
    <!-- <router-link to="/parent/child">跳转到子组件</router-link> -->
     <Child></Child>
  </div>
</template>